<?php
require_once __DIR__.'/BOFactory.class.php';
	
	class CustomerBORepository
	{   
		function getCustomerBOs()
		{	
			$customerBOs=array();
			$categories = R::findAll( 'customer' );
			foreach($categories as $k => $customer)
			{
				array_push($customerBOs,BOFactory::getCustomerBO($customer->id));
			}			
			return $customerBOs;
		}
		
		function getCustomerBO($id)
		{
			return BOFactory::getCustomerBO($id);
		}
                
		
	}